package com.mes.common.usermanagement;

import java.util.HashMap;
import java.util.Map;

import com.mes.prepare.domain.PrepareTask;




public class PrepareProperty
{
	public static final boolean isNeedGenerateJudge = false;
	public static final boolean isNeedGenerateData = false;
	public static final boolean isNeedGenerateSort = true;
	public static final boolean isNeedGenerateDelivery = false;
	public static final boolean isNeedGeneratePrepare = true;
	
	public Map<String, Boolean> propertyMap = null;
	
	public PrepareProperty()
	{
		propertyMap = new HashMap<String, Boolean>();
		propertyMap.put(PrepareTask.PREPARE_TASKTYPE_JUDGE, false);
		propertyMap.put(PrepareTask.PREPARE_TASKTYPE_DATA, false);
		propertyMap.put(PrepareTask.PREPARE_TASKTYPE_SORT, true);
		propertyMap.put(PrepareTask.PREPARE_TASKTYPE_DELIVERY, false);
		propertyMap.put(PrepareTask.PREPARE_TASKTYPE_ROUTING, true);
	}

	public Map<String, Boolean> getPropertyMap()
	{
		return propertyMap;
	}

	public void setPropertyMap(Map<String, Boolean> propertyMap)
	{
		this.propertyMap = propertyMap;
	}
}
